projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b88b86
)
GtkColorEditor: Initialize the allocation x/y
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 29 Jun 2014 02:38:13 +0000
(22:38 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 29 Jun 2014 02:38:13 +0000
(22:38 -0400)
gtk/gtkcoloreditor.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcoloreditor.c
b/gtk/gtkcoloreditor.c
index 3403d3d88d800002ec50db358c0f20dea26ef536..c647b8c5f2741dc4693386b285808e8d271d6721 100644
(file)
--- a/
gtk/gtkcoloreditor.c
+++ b/
gtk/gtkcoloreditor.c
@@
-245,6
+245,8
@@
get_child_position (GtkOverlay *overlay,
gtk_widget_get_preferred_size (widget, &req, NULL);
+ allocation->x = 0;
+ allocation->y = 0;
allocation->width = req.width;
allocation->height = req.height;